<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>天天淘商城-综合网购首选-正品低价、品质保障、配送及时、轻松购物！</title>
    <style>
        @font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?8m1lzv');
  src:  url('fonts/icomoon.eot?8m1lzv#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?8m1lzv') format('truetype'),
    url('fonts/icomoon.woff?8m1lzv') format('woff'),
    url('fonts/icomoon.svg?8m1lzv#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
    </style>
    <meta name="description" content="天天淘-专业的综合网上购物商城,销售家电、数码通讯、电脑、家居百货、服装服饰、母婴、图书、食品等数万个品牌优质商品.便捷、诚信的服务，为您提供愉悦的网上购物体验!">
    <meta name="Keywords" content="网上购物,网上商城,手机,笔记本,电脑,MP3,CD,VCD,DV,相机,数码,配件,手表,存储卡,品优购">
    <link rel="shortcut icon" href="favicon1.ico" />
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/index.css">
    <style>
        .search#id{
            float: left;
            height: 1px;
            width: 1px;
            display: none;
            border: 0ch;
        }
       
    </style>
</head>
<body>
    <!-- shortcut开始 -->
    <div class="shortcut">
        <div class="w">
           <div class="fl">
               <ul>
                   <li>天天淘欢迎您！</li>&nbsp;
                   <li><a href="login.html">请登录</a>&nbsp;&nbsp;</li>
                   <li><a href="register.html" class="style_red">免费注册</a>&nbsp;&nbsp;</li>
                   <li><a href="modify.jsp" class="style_red">个人资料</a>&nbsp;&nbsp;</li>
               </ul>
           </div>
           <div class="rl">
               <ul>
                   <li><a href="/Goods/MyOrderServlet">我的订单</a></li>
                   <li></li>
                   <li class="arrow-icon">我的天天淘</li>
                   <li></li>
                   <li>品优天天淘</li>
                   <li></li>
                   <li>企业采购</li>
                   <li></li>
                   <li class="arrow-icon">关注天天淘</li>
                   <li></li>
                   <li class="arrow-icon">客户服务</li>
                   <li></li>
                   <li class="arrow-icon">网站导航</li>
               </ul>
           </div>
        </div>
    </div>
    <!-- shrotcut结束 -->
    <!-- header开始 -->
    <header class="w">
        <div class="logo">
            <h1><a href="index.html">天天淘商城</a></h1>
        </div>
        <form action="/Goods/find" method="POST">
            <input type="hidden" name="submitFlag" value="find">
            <div class="search">
                <input type="text" placeholder="电视机" name="fullName" >
                
                <button type="submit">搜索</button>
                <input type="text" name="id" id="search_id" style="display:none;">
                <!-- <input type="hidden"  name="id"> -->
                
            </div>
        </form>
        <div class="hotword">                        
            <a href="#" class="style_red">优惠购首发</a>
            <a href="#">亿元优惠</a>
            <a href="#">9.9元团购</a>
            <a href="#">美满99减30</a>
            <a href="#">办公用品</a>
            <a href="#">电脑</a>
            <a href="#">通信</a>
        </div>

        <a href="showCart.jsp" target='_blank'>
            <div class="shopping-car">
                我的购物车&nbsp;&gt;
                <i class="count">8888</i>
            </div>
        </a>
       
        
    </header>
    <!-- header结束 -->
    <!-- nav开始 -->
    <div class="nav">
        <div class="w">
            <div class="dropdown">
                <div class="dt">全部商品分类</div>
                <div class="dd">
                    <ul>
                        <li><a href="/Goods/showCategoryServlet?category=01" target='_blank' >家用电器</a></li>
                        <li><a href="/Goods/showCategoryServlet?category=06">手机</a>、<a href="/Goods/showCategoryServlet?category=06">数码</a>、<a href="/Goods/showCategory.jsp?category=通信">通信</a></li>
                        <li><a href="/Goods/showCategoryServlet?category=04">电脑</a>、<a href="/Goods/showCategoryServlet?category=04">办公</a></li>
                        <li><a href="/Goods/showCategoryServlet?category=03">家居</a>、<a href="/Goods/showCategoryServlet?category=03">家具</a>、<a href="/Goods/showCategory.jsp?category=03">家装</a>、<a href="/Goods/showCategory.jsp?category=03">厨具</a></li>
                        <li><a href="/Goods/showCategoryServlet?category=02">男装</a>、<a href="/Goods/showCategoryServlet?category=02">女装</a>、<a href="/Goods/showCategory.jsp?category=02">童装</a>、<a href="/Goods/showCategory.jsp?category=02">内衣</a></li>
                        <li><a href="/Goods/showCategoryServlet?category=05">个护化妆</a>、<a href="#">清洁用品</a>、<a href="#">宠物</a></li>
                        <li><a href="#">鞋靴</a>、<a href="#">箱包</a>、<a href="#">珠宝</a>、<a href="#">奢侈品</a></li>
                        <li><a href="#">户外运动</a>、<a href="#">钟表</a></li>
                        <li><a href="#">汽车</a>、<a href="#">汽车用品</a></li>
                        <li><a href="#">母婴</a>、<a href="#">玩具乐器</a></li>
                        <li><a href="#">食品</a>、<a href="#">酒类</a>、<a href="#">生鲜</a>、<a href="#">特产</a></li>
                        <li><a href="#">医药保健</a></li>
                        <li><a href="#">图书</a>、<a href="#">音像</a>、<a href="#">电子书</a></li>
                        <li><a href="#">彩票</a>、<a href="#">旅行</a>、<a href="#">充值</a>、<a href="#">票务</a></li>
                        <li><a href="#">理财</a>、<a href="#">众筹</a>、<a href="#">白条</a>、<a href="#">保险</a></li>                  
                    </ul>
                </div>
            </div>
            <div class="navitems">
                <ul>                                             
                    <li><a href="#">服装城</a></li>
                    <li><a href="#">美妆馆</a></li>
                    <li><a href="#">传智超市</a></li>
                    <li><a href="#">全球购</a></li>
                    <li><a href="#">闪购</a></li>
                    <li><a href="#">团购</a></li>
                    <li><a href="#">拍卖</a></li>
                    <li><a href="#">有趣</a></li>
                </ul>
            </div>
        </div>
    </div>
    <!-- nav结束 -->
    <!-- main index专用页开始 -->
    <div class="w">
        <div class="main">
            <div class="focus">
                <ul>
                    <li><img src="upload/focus1.png" alt=""></li>
                </ul>
            </div>
            <div class="newsflash">
                <div class="news">
                    <div class="hd">
                        <h4>品优购快报</h4>
                        <a href="#">更多</a>

                    </div>
                    <div class="bd">
                        <ul>
                            <li><a href="#"><strong>[特惠]</strong>保温杯阿萨德大啊发发买大大发放防水二送二十</a></li>
                            <li><a href="#"><strong>[特惠]</strong>保温杯买二送二十</a></li>
                            <li><a href="#"><strong>[特惠]</strong>保温杯买二送二十</a></li>
                            <li><a href="#"><strong>[特惠]</strong>保温杯买二阿达发发发胜多负少阿达大大大送二十</a></li>
                            <li><a href="#"><strong>[特惠]</strong>保温杯买二送二十</a></li>
                        </ul>
                    
                    </div>
                </div>
                <div class="lifeservice">
                    <ul>
                        <li>
                            <i></i>
                            <p>话费</p>
                        </li>
                        <li>
                            <i></i>
                            <p>话费</p>
                        </li>
                        <li>
                            <i></i>
                            <p>话费</p>
                        </li>
                        <li>
                            <i></i>
                            <p>话费</p>
                        </li>
                        <li>
                            <i></i>
                            <p>话费</p>
                        </li>
                        <li>
                            <i></i>
                            <p>话费</p>
                        </li>
                        <li>
                            <i></i>
                            <p>话费</p>
                        </li>
                        <li>
                            <i></i>
                            <p>话费</p>
                        </li>
                        <li>
                            <i></i>
                            <p>话费</p>
                        </li>
                        <li>
                            <i></i>
                            <p>话费</p>
                        </li>
                        <li>
                            <i></i>
                            <p>话费</p>
                        </li>
                        <li>
                            <i></i>
                            <p>话费</p>
                        </li>

                    </ul>
                </div>
                <div class="bargain">
                    <img src="upload/star.png" alt="">
                </div>

            </div>
        </div>
       
    </div>
    <!-- main index专用页结束 -->
    <!-- recommend 模块开始 -->
   
    <div class="recom w">
      
        <div class="hd">
            <img src="upload/今日特价2.jpg"alt="" onclick="doReflash()">
        </div>
        
        <div class="bd">
            <ul>
                <li><a href="" target='_blank' id="a1" ><img src="upload/appliances.png" alt="" id="s1" style="height: 167px;width: 230px;"></a></li>
                <li><a href="" target='_blank' id="a2"><img src="upload/appliances.png" alt="" id="s2" style="height: 167px;width: 230px;"></a></li>
                <li><a href="" target='_blank' id="a3"><img src="upload/appliances.png" alt="" id="s3" style="height: 167px;width: 230px;"></a></li>
                <li><a href="" target='_blank' id="a4"><img src="upload/appliances.png" alt="" id="s4" style="height: 167px;width: 230px;"></a></li>
            </ul>
        </div>
    </div>

    
    <div class="recom w">
      
        <div class="hd">
            <img src="images/今日推荐.png"alt="" onclick="doReflash2()">
        </div>
        
        <div class="bd">
            <ul>
                <li><a href="" target='_blank' id="n1" ><img src="upload/appliances.png" alt="" id="m1" style="height: 167px;width: 230px;"></a></li>
                <li><a href="" target='_blank' id="n2"><img src="upload/appliances.png" alt="" id="m2" style="height: 167px;width: 230px;"></a></li>
                <li><a href="" target='_blank' id="n3"><img src="upload/appliances.png" alt="" id="m3" style="height: 167px;width: 230px;"></a></li>
                <li><a href="" target='_blank' id="n4"><img src="upload/appliances.png" alt="" id="m4" style="height: 167px;width: 230px;"></a></li>
            </ul>
        </div>
    </div>
    
    <!-- recommend 模块结束 -->
    <!-- floor模块开始 -->
    <div class="floor">
        <div class="jiadian w">
            <div class="hd">
                <h3>家用电器</h3>
                <div class="tab-list">
                    <ul>
                        <li><a href="#" class="style_red">热门</a>|</li>
                        <li><a href="#">大家电</a>|</li>
                        <li><a href="#">生活电器</a>|</li>
                        <li><a href="#">厨房电器</a>|</li>
                        <li><a href="#">个护健康</a>|</li>
                        <li><a href="#">应季电器</a>|</li>
                        <li><a href="#">空气/净水</a>|</li>
                        <li><a href="#">新奇特</a>|</li>
                        <li><a href="#">高端电器</a></li>
                    </ul>
                </div>
            </div>
            <div class="bd">
                <div class="tab_content">
                    <div class="tab_list_item">
                        <div class="col_209">
                            <ul>
                                <li><a href="#">节能补贴</a></li>
                                <li><a href="#">节能补贴</a></li>
                                <li><a href="#">节能补贴</a></li>
                                <li><a href="#">节能补贴</a></li>
                                <li><a href="#">节能补贴</a></li>
                                <li><a href="#">节能补贴</a></li>
                            </ul>
                            <a href="#"><img src="upload/floor07.png" alt=""></a>
                        </div>
                        <div class="col_329"><a href="/Goods/detail?id=002" target='_blank'><img src="upload/热水壶.png" alt=""></a></div>
                        <div class="col_220">
                            <div><a href="#"><img src="upload/floor02.png" alt=""></a></div>
                            <div><a href="#"><img src="upload/floor03.png" alt=""></a></div>
                        </div>
                        <div class="col_221"><a href="/Goods/detail?id=001" target='_blank'><img src="upload/电视机.png" alt=""></a></div>
                        <div class="col_220">
                            <div><a href="/Goods/detail?id=004"><img src="upload/空调.png" alt=""></a></div>
                            <div><a href="/Goods/detail?id=005"><img src="upload/电风扇.png" alt=""></a></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- footer开始 -->
    <footer>
        <div class="footer w">
            <div class="mod_service">
                <ul>
                    <li>
                        <h5></h5>
                        <div class="text_service">
                            <h4>正品保障</h4>
                            <p>正品保障，提供发票</p>
                        </div>
                    </li>
                    <li>
                        <h5></h5>
                        <div class="text_service">
                            <h4>正品保障</h4>
                            <p>正品保障，提供发票</p>
                        </div>
                    </li>
                    <li>
                        <h5></h5>
                        <div class="text_service">
                            <h4>正品保障</h4>
                            <p>正品保障，提供发票</p>
                        </div>
                    </li>
                    <li>
                        <h5></h5>
                        <div class="text_service">
                            <h4>正品保障</h4>
                            <p>正品保障，提供发票</p>
                        </div>
                    </li>
                    <li>
                        <h5></h5>
                        <div class="text_service">
                            <h4>正品保障</h4>
                            <p>正品保障，提供发票</p>
                        </div>
                    </li>
                </ul>
            </div>
            <div class="mod_help">
                <dl>
                    <dt>购物指南</dt>
                    <dd><a href="#">购物流程</a></dd>
                    <dd><a href="#">会员介绍</a></dd>
                    <dd><a href="#">生活旅行/团购</a></dd>
                    <dd><a href="#">常见问题</a></dd>
                    <dd><a href="#">大家电</a></dd>
                    <dd><a href="#">联系客服</a></dd>  
                </dl>
                <dl>
                    <dt>购物指南</dt>
                    <dd><a href="#">购物流程</a></dd>
                    <dd><a href="#">会员介绍</a></dd>
                    <dd><a href="#">生活旅行/团购</a></dd>
                    <dd><a href="#">常见问题</a></dd>
                    <dd><a href="#">大家电</a></dd>
                    <dd><a href="#">联系客服</a></dd>  
                </dl>
                <dl>
                    <dt>购物指南</dt>
                    <dd><a href="#">购物流程</a></dd>
                    <dd><a href="#">会员介绍</a></dd>
                    <dd><a href="#">生活旅行/团购</a></dd>
                    <dd><a href="#">常见问题</a></dd>
                    <dd><a href="#">大家电</a></dd>
                    <dd><a href="#">联系客服</a></dd>  
                </dl>
                <dl>
                    <dt>购物指南</dt>
                    <dd><a href="#">购物流程</a></dd>
                    <dd><a href="#">会员介绍</a></dd>
                    <dd><a href="#">生活旅行/团购</a></dd>
                    <dd><a href="#">常见问题</a></dd>
                    <dd><a href="#">大家电</a></dd>
                    <dd><a href="#">联系客服</a></dd>  
                </dl>
                <dl>
                    <dt>购物指南</dt>
                    <dd><a href="#">购物流程</a></dd>
                    <dd><a href="#">会员介绍</a></dd>
                    <dd><a href="#">生活旅行/团购</a></dd>
                    <dd><a href="#">常见问题</a></dd>
                    <dd><a href="#">大家电</a></dd>
                    <dd><a href="#">联系客服</a></dd>  
                </dl>
                <dl>
                    <dt>帮助中心</dt>
                    <img src="images/wx_cz.jpg" alt="">
                    <dd><a href="#">品优购客户端</a></dd>  
                </dl>
            </div>
            <div class="copyright">
                <ul>
                   
                    <li><a href="#">关于我们</a>|</li>
                    <li><a href="#">联系我们</a>|</li>
                    <li><a href="#">联系客服</a>|</li>
                    <li><a href="#">商家入驻</a>|</li>
                    <li><a href="#">营销中心</a>|</li>
                    <li><a href="#">手机品优购</a>|</li>
                    <li><a href="#">友情链接</a>|</li>
                    <li><a href="#">销售联盟</a>|</li>
                    <li><a href="#">品优购社区</a>|</li>
                    <li><a href="#">品优购公益</a>|</li>
                    <li><a href="#">English Site</a>|</li>
                    <li><a href="#">Contact U</a>|</li>
                    
                </ul>
                <p id="ppp">地址：北京市昌平区建材城西路金燕龙办公楼一层 邮编：100096 电话：400-618-4000 传真：010-82935100 邮箱: zhanghj+itcast.cn
                    <br>京ICP备08001421号京公网安备110108007702
                </p>
            </div>
        </div>
    </footer>
    <!-- footer结束 -->
   
    <script type="text/javascript">
        function doReflash(){
            var m = "upload/";
            var n = "/Goods/detail?id=";
            var x = "target='_blank'";
            // document.getElementById("s1").setAttribute("src","upload/手办.png");
            var xhr = new XMLHttpRequest();
            xhr.onreadystatechange = function(){
                var data = xhr.responseText;
                var obj = JSON.parse(data);
                // if(xhr.status ==200 && xhr.readyState==4){
                  document.getElementById("s1").setAttribute("src",m+obj.r1P)
                  document.getElementById("s2").setAttribute("src",m+obj.r2P)
                  document.getElementById("s3").setAttribute("src",m+obj.r3P)
                  document.getElementById("s4").setAttribute("src",m+obj.r4P)
                  document.getElementById("a1").setAttribute("href",n+obj.r1I);
                  document.getElementById("a2").setAttribute("href",n+obj.r2I);
                  document.getElementById("a3").setAttribute("href",n+obj.r3I);
                  document.getElementById("a4").setAttribute("href",n+obj.r4I);
                  

                    
                    // alert(obj.r1I);
                    
                // }
            }
            xhr.open("get","RecommendServlet",true);
            xhr.send();
        }

        function doReflash2(){
            var m = "upload/";
            var n = "/Goods/detail?id=";
            var x = "target='_blank'";
            // document.getElementById("s1").setAttribute("src","upload/手办.png");
            var xhr = new XMLHttpRequest();
            xhr.onreadystatechange = function(){
                var data = xhr.responseText;
                var obj = JSON.parse(data);
                // if(xhr.status ==200 && xhr.readyState==4){
                  document.getElementById("m1").setAttribute("src",m+obj.r1P)
                  document.getElementById("m2").setAttribute("src",m+obj.r2P)
                  document.getElementById("m3").setAttribute("src",m+obj.r3P)
                  document.getElementById("m4").setAttribute("src",m+obj.r4P)
                  document.getElementById("n1").setAttribute("href",n+obj.r1I);
                  document.getElementById("n2").setAttribute("href",n+obj.r2I);
                  document.getElementById("n3").setAttribute("href",n+obj.r3I);
                  document.getElementById("n4").setAttribute("href",n+obj.r4I);
                  var l = document.createElement("img")
                    l.setAttribute("src","upload/手办.png")
                  document.getElementById("ppp").appendChild(l);
                    
                    // alert(obj.r1I);
                    
                // }
            }
            xhr.open("get","DiscountServlet",true);
            xhr.send();
        }
        
        
    </script>
</body>
</html>